<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<style type="text/css">
	/*友情链接Div*/
	.friendLinkDiv{
		margin-top:20px;
	}
	<%--友情链接Div 项Div--%>
	.friendLinkDiv .itemDiv{
		padding-bottom:20px;
	}
	<%--友情链接Div 链接Div--%>
	.friendLinkDiv .linkDiv{
		width:180px;
		height:50px;
		border:1px solid #DBDBDB;
		background-repeat:no-repeat;
		background-color:white;
		text-align:center;
	}
	<%--友情链接Div 链接Div 名称Div--%>
	.friendLinkDiv .linkDiv .nameDiv{
		margin-top:5px;
		color:#09A;
		font-size:16px;
		font-weight:bold;
	}
	<%--友情链接Div 链接Div 描述Div--%>
	.friendLinkDiv .linkDiv .descriptionDiv{
		color:#AAA;
		font-size:12px;
	}
	<%--友情链接Div 图片Div--%>
	<%--
	.friendLinkDiv .imageDiv{
		width:180px;
		height:60px;
		border:1px solid #DBDBDB;
		background-repeat:no-repeat;
		background-color:white;
		background-image:url(/image/system/friendlyLink.png);
	}
	--%>
</style>
<div class="rowDiv" style="border-top:1px solid #DFDFDF; background-color:#EAEBED; margin-top:100px; padding-top:30px; padding-bottom:30px;">
	<div class="standardDiv">
		<div>
			<font style="color:#555555; font-size:24px;">友情链接</font>
		</div>
		
		<%--友情链接Div--%>
		<div class="friendLinkDiv">
			<c:forEach items="${friendLinkList}" varStatus="status" var="aFriendLink">
				<div class="itemDiv"
					<c:choose>
						<c:when test="${status.count % 5 == 0}">
							style="width:182px;"
						</c:when>
						<c:otherwise>
							style="width:205px;"
						</c:otherwise>
					</c:choose>
				>
					<A href="${aFriendLink.url}" target="_blank" style="text-decoration:none;">
						<%--<div class="imageDiv" style="background-position:center ${aFriendLink.logoPositionY};"></div>--%>
						<div class="linkDiv">
							<div class="nameDiv">${aFriendLink.name}</div>
							<div class="descriptionDiv">${aFriendLink.description}</div>
						</div>
					</A>
				</div>
			</c:forEach>
		</div>
		
		<%--版权信息Div--%>
		<div style="text-align:center;">
			<div style="margin-top:30px;">
				<A href="javascript:setToCollect()" style="color:#7677CA;">把琥珀川添加到收藏夹</A>&nbsp;
				<font style="color:#999;">|</font>&nbsp;
				<A href="#" style="color:#7677CA;">使用前必读</A>&nbsp;
				<font style="color:#999;">|</font>&nbsp;
				<A href="javascript:clickfeedBack('')" style="color:#7677CA;">意见反馈</A>&nbsp;
			</div>
			<div style="margin-top:10px;">
				<font style="font-size:12px; color:#666;">
					琥珀川所有电影资源均来自互联网自动采集转载，相关链接已经注明来源，请大家支持正版，谢谢合作。
				</font>
			</div>
			<div style="margin-top:10px;">
				<font style="font-size:12px; color:#666;">
					如果侵犯了你的权益，请及时联系我们删除相关内容，琥珀川将定期清除存在版权问题的链接。
				</font>
			</div>
			<div style="margin-top:10px;">
				<font style="font-size:12px; color:#666;">官方邮箱：admin@hupochuan.com</font> 
			</div>
			<div style="margin-top:10px;">
				<font style="font-size:12px; color:#666;">Copyright &copy; 2014 琥珀川 All Rights Reserved.</font>
			</div>
		</div>
	</div>
</div>
<%--百度统计代码--%>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F98ec0ac0ed3ccdac7616b9e91d36487e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
	<%--设置添加到收藏夹--%>
	function setToCollect(){
		window.external.AddFavorite("http://www.hupochuan.com/","琥珀川·高清影视网");
	}
</script>